package love.bot.forli.group.review.bean.Dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import love.bot.forli.group.review.bean.Option;

import java.util.List;

/**
 * @author Kontori
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "试题Dto")
public class QuestionDto {

    @ApiModelProperty(value = "题目ID")
    private Integer questionId;

    @ApiModelProperty(value = "题干")
    private String title;

    @ApiModelProperty(value = "题目类型，0单选1多项2判断")
    private Integer type;

    @ApiModelProperty(value = "选项")
    private List<Option> options;

    @ApiModelProperty(value = "分数")
    private Integer score;

    @ApiModelProperty(value = "题目备注")
    private String remark;

    @ApiModelProperty(value = "所属题组名称")
    private String questionGroupName;

    @ApiModelProperty(value = "所属题组类型")
    private String questionGroupType;

}
